#space {
    width: 500px;
    height: 120px;
    margin: 200px auto;
    border: 1px solid #000;
}

#list {
    overflow: hidden;
    background-color: gray;
}

#list div {
    float: left;
    width: 125px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border-bottom: 1px solid #000;
    border-radius: 5px;
    cursor: pointer;
}

#content div {
    position: absolute;
    font: 50px/70px "";
    padding-left: 10px;
    display: none;
}

.bg {
    background-color: hotpink;
}

.bgg {
    background-color: gray;
}

#content div:nth-of-type(1) {
    display: block
}

span {
    width: 125px;
    height: 50px;
}